home *** CD-ROM | disk | FTP | other *** search
- Add/Strip (version 2.10) Docs - Add/Strip 2.10 © 1987 Jon Wind
- - Please do not distribute modified copies
- - This file must be accompany Add/Strip 2.10
- - Source code available as shareware ($5-6)
-
-
- Files Included:
-
- 1. Add/Strip 2.10 Docs - This file. - Written using 9 point Monaco.
-
- 2. Add/Strip 2.10 - The application. Do not rename.
-
-
-
- Brief History:
-
-
- I wrote Add/Strip to improve our desktop publishing area’s productivity. They
- use Aldus Pagemaker and Quark XPress (highly recommended) to produce some of
- our company’s shorter publications. The copy is written on Wangs, CPTs,
- and/or DOS machines. These text files are then sent to the Macs for page
- layout. Unfortunately, these files are invariably formatted improperly for
- their needs. Enter Add/Strip.
-
- Version 2.10 of Add/Strip is the product of many hours of work. As my
- knowledge of programming the Mac has increased, so has the complexity of this
- program. It is free; my way of paying back for all of the other public domain
- programs I’ve had the pleasure of using. Let me know what you think of it.
-
-
-
- Commands:
-
-
- --> See the online help for a complete description of current functions and
- limitations.
-
- --> Please note that ‘Strip CRs’ is NOT the same as ‘Make Paragraphs.’ Use
- ‘Make Paragraphs’ if you plan on importing the text file to a page layout or
- word processing program
-
-
- --> Depending on which main function is currently selected, certain options
- may be disabled or defaulted. The following table should help explain:
-
-
- Main Function |Strip LFs |Leading |Trailing Spaces |Unhyphenate
- -----------------------+----------+--------+----------------+-----------
- Expand Tabs |No |Option |Option |No
- -----------------------|----------|--------|----------------|-----------
- Force Line Width |Yes |Strip |Strip |No
- -----------------------|----------|--------|----------------|-----------
- Read & Write File |No |Option |Option |No
- -----------------------|----------|--------|----------------|-----------
- Make Paragraphs |Yes |Option |Option |Yes
- -----------------------|----------|--------|----------------|-----------
- WordStar™ to Text |Yes |Option |Option |No
- -----------------------|----------|--------|----------------|-----------
- Replace Spaces w/ Tabs |No |Option |Option |No
- -----------------------|----------|--------|----------------|-----------
- Add Characters |No |Option |Option |No
- -----------------------|----------|--------|----------------|-----------
- Strip Characters |Option |Option |Option |No
- -----------------------+----------+--------+----------------+-----------
-
-
-
- 2.10 Changes:
-
-
- 1. Added ability to edit the text file creator type (for output files) from
- within the program.
-
- 2. Added ability to save and restore settings, in addition to the default
- settings file. Opening a configuration file from the Finder will load that
- file’s settings, provided that the settings are in the proper format.
- Add/Strip will attempt to load the default settings file (stored in the
- system folder) if Add/Strip was NOT called by opening a config file from
- the Finder, or that file’s settings are NOT in the proper format. Files
- created with an older version of Add/Strip will not load.
-
- 3. Added ability to select the maximum number of consecutive blank lines (0-3)
- or ignore them entirely.
-
- 4. The ASCII characters chart (which uses a customized version of Geneva) can
- now be accessed via the replace window or the menu.
-
- 5. Added a progress indicator bar to the processing window to visually
- describe the amount of file processed/remaining.
-
- 6. Replaced the old ‘About…’ window with a scrollable help system. It may be
- accessed via command-? or the menu. The Help key may be also used on the
- extended keyboard.
-
- 7. Directional arrow keys (or > and < keys) may be used to control scrollbar
- scrolling. Command-arrow and command-< or command-> will effect a page up
- or page down. Page Up, Page Down, Home, and End keys may be used to
- control scrollbar scrolling on the extended keyboard.
-
- 8. Cut, Copy, and Paste command key equivalents or function keys F2, F3, and
- F4 on the extended keyboard will now work properly in text boxes.
-
- 9. The number of active replacement sets is now displayed on the ‘Get text…’
- window in the form of Rn, where n is the number of ACTIVE sets.
-
- 10. The text insertion point will be placed at the location of the first error
- in the ‘Replace…’ window and, if possible, highlighting the error.
-
- 11. Certain replacement strings should no longer cause the program to hang.
-
- 12. The letters c, v, and x, are accepted properly in the replace window.
-
- 13. Stripping or replacing leading spaces with a tab should now work properly.
-
- 14. File processing may be aborted by holding down the command key and typing
- a period.
-
- 15. As a service to users, I’ve included a program called Strip Add/Strip 2.10,
- which can reduce the size of your PERSONAL COPY of Add/Strip by a little
- over 7K. Please DO NOT distribute these modified copies to others.
-
-
-
- Tips:
-
-
- 1. Read the online help CAREFULLY.
-
- 2. Do not trash the original TEXT file until after verifying that Add/Strip
- has done what was expected.
-
- 3. Be sure to verify ALL settings, including replacement strings, before
- OKing to be sure that the correct processing will be done.
-
- 4. Use ResEdit to change the default file name in STR 1001 from ‘A/S Settings’
- to something else if there is a name conflict in your system folder.
-
- 5. Set the Output File Creator type to another if you wish to launch a program
- other than Add/Strip when you double click on a file created by Add/Strip.
- For instance, changing it to ‘MACA’ will provide launching into MacWrite.
- Note that the file whose File Creator type you use must accept TEXT files.
-
- 6. Notify the author if you find a bug, or it may not get fixed. See below.
-
- 7. If a Macintosh text file is going to be transferred to an DOS based
- machine, it will probably require LFs after each line. Therefore, it would
- be appropriate to select the ‘Add LFs to paragraphs’ checkbox when ‘Make
- paragraphs’ is chosen, or the ‘LFs’ checkbox when ‘Add characters’ is
- chosen. ‘Uncurl’ quotes and apostrophes should also be chosen.
-
- Note that lines of text on a Mac are generally terminated with a CR, while
- DOS based machines use a CRLF sequence. Keep this in mind when moving
- files between the systems.
-
- 8. Consider processing a file two or more times to achieve the desired effect.
- For instance, to replace all spaces greater than 2 in a file, first choose
- the ‘Replace Spaces With Tabs’ function, setting the ‘Maximum allowable
- spaces’ to 2. Process the file. Then, choose the ‘Expand Tabs’ function
- and set the number of spaces to 0, or choose the ‘Read & Write File’
- function and set one of the replacement sets to ‘Change #9 to <blank>’
- (leave the second text box blank) and process the file that was output by
- the first pass.
-
- 9. Because replacements are made blindly, use a word processor to do
- conditional character replacement instead of Add/Strip.
-
-
-
- Conclusion:
-
-
- Add/Strip works fine on my computer system. I cannot (and do not) guarantee
- that it will on yours.
-
- Add/Strip allows you to manipulate TEXT files in a number of ways. This
- version is free, but I'll gladly accept ANY donation. If you like it, have
- questions or suggestions, or find any bugs, I'd like to hear from you. I can
- be reached at:
-
- COMPUSERVE: 70167,3444
- GENIE: JPWIND
- MCIMAIL: JWIND
-
-
- If you don't have access to these services, or wish to register or obtain a
- copy of the source code (approx. 85K of commented Turbo Pascal), send a letter
- and $5 ($6 if I'm supplying the disk) to:
-
- Jon Wind (A/S 2.10)
- 7180 Montrose Road
- Woodbury, MN 55125
-
-
- Thank you.
-